package icu.shaoyayu.admin.api.application.feign;

import icu.shaoyayu.admin.api.application.feign.fallback.AdminUserFeignAsrFallback;
import icu.shaoyayu.common.utll.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author shaoyayu
 * @date 2022/2/25
 * @apiNote
 */
@FeignClient(value = "ser-platform",fallback = AdminUserFeignAsrFallback.class)
public interface AdminUserFeignAsr {

    @RequestMapping(value = "/admin/allUser",method = RequestMethod.GET)
    R<Object> getAllAdminUser();

}
